package cn.liutao.auth.entity.param;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class RestPwdParam{

    @NotNull(message = "请选择用户")
    private Integer userId;

    @NotBlank(message = "新密码不能为空")
    private String newPassword;
}
